﻿using System;

namespace BaseSyntax.Collection.AnimalBase
{
	public class Chicken:Animal
	{
		public void layEgg()
		{
			Console.WriteLine($"{name} egged");
		}

		public Chicken(string newName):base(newName)
		{
			
		}
	}
}